package com.bootdo.bj.dao;

import com.bootdo.bj.domain.Category;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 
 * @author haojiangbo
 * @email 2100272728@qq.com
 * @date 2019-01-23 17:22:27
 */
@Mapper
public interface CategoryDao {

	Category get(Integer id);
	
	List<Category> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(Category category);
	
	int update(Category category);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
